Skip to main content

All Questions

Tagged with
5votes
1answer
779views

AJAX with Vanilla Node.js/JavaScript – POST JSON without a form

I am new to node.js, ajax, and asynchronous code. I’ve pieced together a working way to exchange json between browser and server and am wondering if someone with more experience considers the approach ...
Jim Thompson's user avatar
1vote
1answer
198views

Display name and email fetched using JSON API when hovering

I'm learning AJAX JSON. I'm just testing how to pull the data. The idea is, when hovering over the number, it pulls the data and show the content for name and email. Number 1 is to show name and ...
Udzzzz's user avatar
0votes
1answer
44views

Get real time geojson on Javascript

I frequently need to obtain some info about coordinates, because I have dynamic elements on a map (in Openlayers). So I use SetInterval and XMLHttpRequest Object to do it. ...
Mr Robot's user avatar
3votes
1answer
623views

Returning the results of four $resource calls as a JSON array in AngularJS

Title pretty much says it. I need a way to elegantly handle multiple $resource calls in AngularJS. Right now, I just calling each other call on the ...
Jimenemex's user avatar
5votes
1answer
78views

My simple jQuery website returns JSON data from two different servers

I'm looking advice from more experienced people about how I can improve my code. I also want to make my code object-oriented (create classes in separate .js files) but I don't how best to do it. How ...
Jammi's user avatar
2votes
0answers
1kviews

Greasemonkey script that parses JSON to display some extra info on FamilySearch.org

This is my first Greasemonkey script and I'd like to get some comments/criticism on the code. It's pretty short so I'll just paste the whole thing here. ...
JJJamie's user avatar
5votes
1answer
97views

Angular directive to fetch resources to fill a table

I created a directive that solves my immediate problem, but I'm trying to find ways to make it more reusable. My immediate problem was, I have a table and needed to fill in one of the columns with ...
mdegges's user avatar
0votes
2answers
453views

Submitting a form via JSON

I have a file named feedback.js that I would like to improve. ...
Kai Hendry's user avatar
0votes
1answer
2kviews

Wikipedia search using the JSON API

What could I do better in my code or logic? Wikipedia Search ...
Michael Alves's user avatar
3votes
1answer
1kviews

Loading and displaying JSON quickly in PhoneGap app

I have this tap event in an iOS app that I'm developing with PhoneGap. When I click on the left arrow, it finds the desired content and retrieves it from a JSON file. It then displays those results on ...
shmuli's user avatar
8votes
2answers
17kviews

Insert JSON data into rendered template after AJAX call

I have an already rendered template and I want to update it with some JSON data I obtain via AJAX. The template as it is before rendering looks like this (using ...
confused00's user avatar
2votes
2answers
4kviews

Using jQuery and AJAX process a form with PHP

I'm looking to collect form input and pass it to a file called processing.php with AJAX JS: ...
bcr's user avatar
  • 315
3votes
2answers
173views

Better paradigms for posting JSON from a table?

With a table based interface where users can update the rows by pressing a button. Perhaps there is a better way of doing this, without pressing a button, i.e. post on textarea/row change (could be a ...
Kai Hendry's user avatar
2votes
1answer
705views

Instagram widget feed function

I've adapted an Instagram widget from this example so that it now appends 8 images to their respective IDs using an Instagram username. I want my widget implementation to be better and more efficient. ...
Thomas Taylor's user avatar
7votes
1answer
137views

Requesting Resources Until Exhaustion

When an API has a 'next' feature, I use the following pattern to obtain all the results: ...
Tanaki's user avatar

153050per page
close